﻿<!--<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">
  <title>个人用户注册</title>
 </head>
 <body>
  <form method=post action="admin.php?c=user&m=add" enctype="multipart/form-data" >
  <table  border="1">
  <tr>
  <td>姓名：</td>   
  <td><input type="text" name="username" required>  </td>
  </tr>
  <tr> 
  <td>密码：</td>   
  <td><input type="password" name="password" required></td>
  </tr>
  <tr>
  <td>性别：</td> 
  <td>
  <input type="radio" name="gender"  value=0 checked>男
   <input type="radio" name="gender"  value=1>女
  </td>
  </tr>
  <tr>
  <td>生日：</td>   
  <td><input type="date" name="birthdate">
  </td>
  </tr>  
  <tr>
  <td>爱好：</td>   
  <td>
  <input type="checkbox" name="hobby[]" value="旅游" checked>旅游
  <input type="checkbox" name="hobby[]" value="登山"  checked>登山
  <input type="checkbox" name="hobby[]" value="健身">健身
  <input type="checkbox" name="hobby[]" value="上网">上网
  <input type="checkbox" name="hobby[]" value="游泳">游泳
  </td>
  </tr>
  <tr>
  <td>学历：</td>   
  <td>
  <select name="degree">
   <option value="0">请选择</option>
    <option value="1">高中</option>	
    <option value="2">大学</option>
	<option value="3">研究生</option>  
	<option value="4">博士生</option>
  </select>
  </td>
  </tr>
  <tr>
  <td>自我介绍</td>   
  <td>
  <textarea name="intro">自我简介：</textarea>
  </td>
  </tr>
 <tr>
  <td>头像</td>   
  <td>
  <input type="file" name="pic">
  </td>
  </tr>
  <tr>
  <td colspan="2">
  <input type="submit" value="提交">
    <input type="reset" value="重置">
  </td>
  </tr>
 </table>
 </form>
 </body>
</html>-->
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="admin/view/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body background="upload/10082202447e3a23df3e842fe8.jpg">
  <h2 class="text-lift"><a href="admin.php?c=user&m=display">后台首页</a></h2>
  <h3 class="text-right"><a href="admin.php?c=user&m=add">个人用户注册</a></h3>
    <div class="container">
      <div class="row">
        <!--这里添加代码-->        <h1 class="text-center">用户注册</h1>

        <form class="form-horizontal" action="admin.php?c=user&m=add" method="post" enctype="multipart/form-data">

        <form class="form-horizontal" action="index.php?c=user&m=addcartoon" method="post" enctype="multipart/form-data">

          <div class="form-group">
            <label for="username" class="col-md-2 col-xs-3 control-label">用户名</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="username" placeholder="用户名" name="username">
            </div>
          </div>

          <div class="form-group">
            <label for="password" class="col-md-2 col-xs-3 control-label">密码</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="password" placeholder="密码" name="password">
            </div>
          </div>
           <div class="form-group">
            <label for="gender" class="col-md-2 col-xs-3 control-label">性别</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="gender" placeholder="性别" name="gender">
            </div>
          </div>
          <div class="form-group">
            <label for="birthdate" class="col-md-2 col-xs-3 control-label">生日</label>
            <div class="col-md-10 col-xs-9">
              <!--<input type="text" class="form-control" id="birthdate" placeholder="生日" name="birthdate">--><td><input type="date" name="birthdate">
  </td>
            </div>
          </div>
          <div class="form-group">

            <label for="uploadtime" class="col-md-2 col-xs-3 control-label">爱好</label>
            <div class="col-md-10 col-xs-9">
             <!-- <input type="date" class="form-control" id="uploadtime" name="uploadtime">--><td>
  <input type="checkbox" name="hobby[]" value="旅游" checked>旅游
  <input type="checkbox" name="hobby[]" value="登山"  checked>登山
  <input type="checkbox" name="hobby[]" value="健身">健身
  <input type="checkbox" name="hobby[]" value="上网">上网
  <input type="checkbox" name="hobby[]" value="游泳">游泳
  </td>

          
            </div>
          </div>
          <div class="form-group">
            <label for="address" class="col-md-2 col-xs-3 control-label">学历</label>
            <div class="col-md-10 col-xs-9">
              <!--<input type="text" class="form-control" id="address" placeholder="下载地址" name="address">--><td>
  <select name="degree">
   <option value="0">请选择</option>
    <option value="1">高中</option> 
    <option value="2">大学</option>
  <option value="3">研究生</option>  
  <option value="4">博士生</option>
  </select>
  </td>
            </div>
          </div>
      <div class="form-group">
            <label for="intro" class="col-md-2 col-xs-3 control-label">自我介绍</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="intro" placeholder="自我介绍" name="intro">
            </div>
          </div>
<div class="form-group">
            <label for="pic" class="col-md-2 col-xs-3 control-label">头像</label>
            <div class="col-md-10 col-xs-9">
        <input class="form-control" id="pic" type="file"  name="pic">

            </div>
          </div>
          <div class="form-group">

            <div class="col-md-10 col-xs-9 col-md-offset-2 col-xs-offset-3">
              <input type="submit" value="添加">
              <input type="reset" value="重置">
            </div>
          </div>

        </form>
      </div>
    </div>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>